package common;

import java.io.Serializable;

public enum PhaseEnum implements Serializable{
	REGISTRATION, TRADING, RESULTS;
	private static final long serialVersionUID = -268450951555266473L;
	
	public PhaseEnum nextPhase() {
		return (ordinal()==0)?TRADING:(ordinal()==1)?RESULTS:REGISTRATION;
	}
}
